import configparser


class ReadConfig:
    @staticmethod
    def get_config(file_path, section, opt):
        cf = configparser.ConfigParser()
        cf.read(file_path,encoding='utf-8')
        return cf[section][opt]
